
cmake_minimum_required(VERSION 3.10)

project (OSSDEMO)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED on)


set(HOME .)
set(EXECUTABLE_OUTPUT_PATH ${HOME})



add_executable(ossdemo
               ossdemo1.cc)

target_compile_options(
              ossdemo PRIVATE
              -std=c++11
              -fno-rtti
               )

target_link_libraries(
           ossdemo PRIVATE
           alibabacloud-oss-cpp-sdk
           curl
           crypto
           pthread
               )
